from django.shortcuts import render
from rest_framework.views import APIView
# from utils.response import APIResponse
from . import serializers, models
from rest_framework.generics import ListAPIView
# Create your views here.


class BannerListAPIView(ListAPIView):
    queryset = models.Banner.objects.filter(is_delete=False,is_show=True).order_by('order')
    serializer_class = serializers.BannerModelSerializer


